{{- if .Values.global.redis.password -}}
apiVersion: v1
kind: Secret
metadata:
  name: redis
type: Opaque
data:
  redis-password: {{ .Values.global.redis.password | b64enc }}
{{- end }}
